package com.yangwei.examination.teacher.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "correct_answer_paper_score")
public class CorrectAnswerPaperScore {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 分数对应哪个题目
     */
    @TableField(value = "paper_question_id")
    private Long paperQuestionId;

    /**
     * 隶属于哪个被批过的答卷 
     */
    @TableField(value = "correct_answer_paper_id")
    private Long correctAnswerPaperId;

    /**
     * 当前题目得分
     */
    @TableField(value = "score")
    private Integer score;
}